package org.luckyjourney.entity.booking.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.luckyjourney.entity.booking.PsychologicalAppointmentRecords;

import javax.swing.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookingVO implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("预约类型id")
    private Long planTypeId;
    @ApiModelProperty("预约类型")
    private String planType;

    private Integer planId;
    @ApiModelProperty("订单id")
    private Long ordersId;
    @ApiModelProperty("订单号")
    private String ordersNumber;

    @ApiModelProperty("咨询师id")
    private Long userId;

    private String nickName;

    @ApiModelProperty("用户id")
    private Long regularId;

    @ApiModelProperty("日期")
    private String planDate;

    @ApiModelProperty("时间")
    private String planTime;

    @ApiModelProperty("服务的方式")
    private String type;

    private String description;

    // true 为男，false为女
    private Boolean sex;

    private String name;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("头像id")
    private Long avatars;

    @ApiModelProperty("价格")
    private double price;

    @ApiModelProperty("订单状态")
    private Integer status;

    @ApiModelProperty("个人信息 true以完善 flas 未完善")
    private Boolean PersonalInformation;

    @ApiModelProperty("1(待核销)2已完成")
    private Integer bookingStatus;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private String a;

    private List<PsychologicalAppointmentRecords> psychologicalAppointmentRecords;
}
